#!/usr/bin/python3
while 1:
    try:
        a, b = input().split()
        if a != "" and b != "":
            s = int(a)+int(b)
            print(s)
        else : break
    except ValueError:
        pass